<%@page contentType="text/html; charset=utf-8" %>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<title>关联事件列表</title>
<%@ include file="/commons/commonList.jsp"%>

</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">

<div>
  <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
    <tr>
      <td >
      	<table width="100%" border="0" cellpadding="0" cellspacing="1">
      		<tr>
      			<td colspan="2" bgcolor="#FFFFFF">
      				<table width="100%" border="0" cellspacing="0" cellpadding="0" >
      					<tr>
      						<td colspan="5" >
								<div style="overflow:auto; height:280px;">
								  <ec:ceTable items="customerEventList"
									action="${ctx}/customerService_custServEventAction.do?method=initLinkTheOtherListMain&keyword=${keyword}"
									var="customerEvent"
									view="pmsview"
									styleClass="gridData2"
									rowsDisplayed="15" >
									<ec:ceRow styleClass="grid">
										<ec:ceColumn headerCell="pmsHeadrCell" title="事件编号" property="eventNo" sortable="false" width="14%" />
										<ec:ceColumn headerCell="pmsHeadrCell" title="详细地点" property="fullAddress" sortable="false" width="7%"/>
										<ec:ceColumn headerCell="pmsHeadrCell" title="房 号" property="houseNumber" sortable="false" width="6%" />
										<ec:ceColumn headerCell="pmsHeadrCell" title="联系人" property="contact" sortable="false" width="8%" />
										<ec:ceColumn headerCell="pmsHeadrCell" title="紧急程度" property="emergencyDegreeName" sortable="false" width="8%" />
										<ec:ceColumn headerCell="pmsHeadrCell" title="事件性质" property="custServEventNatureName" sortable="false" width="8%" />
										<ec:ceColumn headerCell="pmsHeadrCell" title="事件内容" property="eventContent" sortable="false" width="15%" />
										<ec:ceColumn headerCell="pmsHeadrCell" title="有效性" property="validityStr" sortable="false" width="6%">
											<c:choose>
												<c:when test="${customerEvent.validityStr eq '001'}">有效</c:when>
												<c:when test="${customerEvent.validityStr eq '000'}">无效</c:when>
												<c:when test="${customerEvent.validityStr eq '002'}">待定</c:when>
											</c:choose>
										</ec:ceColumn>
										<ec:ceColumn headerCell="pmsHeadrCell" title="事件状态" property="eventStatuzStr" sortable="false" width="7%" >
											<c:choose>
												<c:when test="${customerEvent.eventStatuzStr eq '001'}">新 建</c:when>
												<c:when test="${customerEvent.eventStatuzStr eq '002'}">已提交</c:when>
												<c:when test="${customerEvent.eventStatuzStr eq '003'}">已完工</c:when>
												<c:when test="${customerEvent.eventStatuzStr eq '004'}">待归档</c:when>
												<c:when test="${customerEvent.eventStatuzStr eq '005'}">已归档</c:when>
												<c:when test="${customerEvent.eventStatuzStr eq '000'}">作 废</c:when>
											</c:choose>
										</ec:ceColumn>
									</ec:ceRow>
								</ec:ceTable>
								</div>
      						</td>
      					</tr>
      				</table>
      			</td>
      		</tr>
      	</table>
      </td>
    </tr>
  </table>
</div>

</body>
</html>